package com.everwin.common.constant;

/**
 * 通用常量信息
 */
public class Constants {
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * 通用成功标识
     */
    public static final String SUCCESS = "0";

    /**
     * 通用失败标识
     */
    public static final String FAIL = "1";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";

    /**
     * 自动去除表前缀
     */
    public static final String AUTO_REOMVE_PRE = "true";

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";


    /**
     * 未知 风控参数
     * 统一传入 "unknown"
     */
    public static final String NO_INFORMATION = "unknown";

    /**
     * 评分卡等级 A+
     */
    public static String CREDIT_MODEL_LEVEL_A_UPPER = "A+";

    /**
     * 评分卡等级 A
     */
    public static String CREDIT_MODEL_LEVEL_A = "A";

    /**
     * 评分卡等级 B
     */
    public static String CREDIT_MODEL_LEVEL_B = "B";

    /**
     * 评分卡等级 C
     */
    public static String CREDIT_MODEL_LEVEL_C = "C";

    /**
     * 评分卡等级 D
     */
    public static String CREDIT_MODEL_LEVEL_D = "D";

    /**
     * 评分卡等级 E
     */
    public static String CREDIT_MODEL_LEVEL_E = "E";

    /**
     * 征信分 调节系数 :
     */
    public static int CREDIT_SCORE_RATIO_TYPE = 1;

    /**
     * 信贷表现系统 调节系数 :
     */
    public static int LOAN_RATIO_TYPE = 2;

    /**
     * 评分卡 折算系数:
     */
    public static int CREDIT_MODEL_RATIO_TYPE = 3;
}
